<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="util.*" %>
<%//=request.getParameter("refer_url").
if(session.getAttribute(Globals.loginInfo) != null){
	response.sendRedirect("index.jsp");
	
}
 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include flush="true" page="../jsp/copyright.jsp"></jsp:include>
<link href="css/index/login_regist.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="js/jquery/jquery.metadata.js"></script>
<script language='javascript'>
// JavaScript Document
$(function(){
	$("#form_login").validate({
//		debug :true,
//		success: function(label) {
//			label.html("正确!").addClass("right");
//		},
		errorClass: "wrong",
		rules: {
			txtloginname: {required:true},
			txtPassword: {required:true}
		},
		messages: {
			txtloginname: {required: "用户名不能为空!"},  //用户名不能为空!
			txtPassword: {required: "密码不能为空!"}    //密码不能为空!
		}
	});


})

$(document).ready(function() {
	$('#txtloginname').focus();
});
</script>
</head>
<body><link href="css/index/header_new.css" rel="stylesheet" type="text/css" />
<link href="css/index/default_new.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(document).ready(function(){  
        $(".select_lang h3").mouseover(function(){    
                $(this).addClass("over");}).mouseout(function(){ 
                $(this).removeClass("over");})
		$(".select_lang h3").hover(function()
		{
			$(this).next().css("display","block");
		},
		function()
		{
			$(this).next().css("display","none");	
		});
		$(".select_lang ul").hover(function()
		{
			$(this).css("display","block");
		},
		function()
		{
			$(this).css("display","none");	
		})
});
</script>

<jsp:include flush="true" page="../jsp/top.jsp"></jsp:include>
 <div class="clear"></div>
      <div class="nav_part">
        <div class="nav_side_left"></div>
        <div class="nav_side_right"></div>
      </div>
    </div>
  </div>
</div>
<div id="container_login"> 
<b></b>
  <div class="biaoti"><img src="images/blue/ico2.gif" /> <a href="http://localhost:8888">首页</a> > 登&nbsp;&nbsp;陆</div>
  <div class="homeform"><!-- 登陆页面整体内容 -->
  <div id="loginleft"><!-- 左侧登录框 --><span id="png_zi"><img src="images/blue/zi.jpg" /></span>

 
    <form action="user!toLogin.do?action=login" method="post" id="form_login" name="form_login" style="width:49%; float:left; display:block">

<div id="login_table">
			
<b></b>
      <table border="0" cellpadding="0" cellspacing="0" id="login_table1" >
		<input name="userInput" type="hidden" value="${msg}"/>
        <tr>
          <td width="110" height="35" style="text-align:right; padding-right:7px">会员名：</td>
          <td height="35" colspan="2">
			<label>
            <input type="text" name="txtloginname" id="txtloginname" class="login_new" value="" />
            </label>
          </td>
        </tr>
        <tr>
          <td width="110" height="35" style="text-align:right; padding-right:7px">密码：</td>
          <td height="35" colspan="2"><label>
            <input type="password" name="txtPassword" id="txtPassword" class="pw_new" />
            </label>
          </td>
        </tr>
        <tr>
          <td height="35" colspan="2" style="text-align:right"></td>
          <td height="35" align="right">
		    <ul id="quick_menu">
		   
		      <li><input type="submit" class="bg_input" value="登&nbsp;&nbsp;陆" name="submit" /></li>
            </ul></td>
          </tr>
      </table>
	  <i></i>
	 </div> 
      <input type="hidden" name="refer_url" value="http%3A%2F%2Flocalhost%3A8888%2Fhome%2Findex.php" />
    </form>
	<div id="loginright">
	<ul>
		<li style="border-top:none"><a href='show!toReg.do'><img src="images/blue/regist.jpg" /></a><span>如果您还不是本站会员，请点击上方的按钮【注册】后【登陆】</span></li>
		<li style="border-bottom:none"><a href='show!toForget.do'><img src="images/blue/pw.jpg" /></a><span>如果您遗忘了登陆密码，请点击上方找回</span></li>
	</ul>
	
	</div>
    <div class="homeform_Bottom"></div>
	</div>
  </div>
  <div id="hack"></div>
  <i></i>
  <div id="dun">
	<img src="images/blue/dun.jpg" />
		</div>
		  <div id="line2">
	<img src="images/blue/line.jpg" />
		</div>
 </div> 
 
 <jsp:include flush="true" page="../jsp/bottom.jsp"></jsp:include>

</body>
</html>
